﻿using System;

namespace CDC.SampleShell.Infrastructure
{
    public interface IUnitOfWork<TEntity> where TEntity : IEntity
    {
        void Commit();
        void Discard();
        //void Track(TEntity entity);
        void Delete(TEntity entity);
        void Update(IEntity entity);
        void Insert(IEntity entity);
    }
}
